package com.ruoyi.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.basic.domain.BasicAppoint;
import com.ruoyi.basic.domain.BasicImage;

import java.util.List;

/**
 * 员工任免表Service接口
 * 
 * @author ruoyi
 * @date 2021-12-07
 */
public interface IBasicAppointService extends IService<BasicAppoint>
{
    /**
     * 查询员工任免表
     * 
     * @param appointId 员工任免表主键
     * @return 员工图片
     */
    public BasicAppoint selectBasicAppointByAppointId(Long appointId);

    /**
     * 查询员工图片任免表
     * 
     * @param basicAppoint 员工任免表
     * @return 员工图片集合
     */
    public List<BasicAppoint> selectBasicAppointList(BasicAppoint basicAppoint);

    /**
     * 查询员工任免表列表
     *
     * @param appointIds 责任任免表id
     * @return 员工图片集合
     */
    public List<BasicAppoint> selectBasicAppointListByAppointIds(String appointIds);

    /**
     * 新增员工任免表
     * 
     * @param basicAppoint 员工任免表
     * @return 结果
     */
    public int insertBasicAppoint(BasicAppoint basicAppoint);

    /**
     * 修改员工任免表
     * 
     * @param basicAppoint 员工任免表
     * @return 结果
     */
    public int updateBasicAppoint(BasicAppoint basicAppoint);

    /**
     * 批量删除员工任免表
     * 
     * @param appointIds 需要删除的员工任免表主键集合
     * @return 结果
     */
    public int deleteBasicAppointByAppointIds(String appointIds);

    /**
     * 删除员工任免表信息
     * 
     * @param appointId 员工任免表主键
     * @return 结果
     */
    public int deleteBasicAppointByAppointId(Long appointId);
}
